<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Diff</title>
<meta name="Generator" content="Vim/7.4" />
<meta name="plugin-version" content="2html_test" />
<meta name="settings" content="no_progress,number_lines,ignore_folding,no_pre,whole_filler,use_xhtml,use_css,no_foldcolumn,expand_tabs,line_ids,ignore_conceal,prevent_copy=" />
<meta name="colorscheme" content="none" />
<style type="text/css">
body { color: #ffffff; background-color: #000000; font-family: monospace; }
* { font-size: 1em; }
.Statement { color: #ffff60; font-weight: bold; }
.PreProc { color: #ff80ff; }
.Type { color: #60ff60; font-weight: bold; }
.LineNr { color: #ffff00; }
.Comment { color: #80a0ff; }
.Constant { color: #ffa0a0; }
.Special { color: #ffa500; }
.Normal { color: #ffffff; background-color: #000000; padding-bottom: 1px; }
.Todo { color: #0000ff; background-color: #ffff00; padding-bottom: 1px; }
.DiffAdd { background-color: #000080; padding-bottom: 1px; }
.DiffChange { background-color: #800080; padding-bottom: 1px; }
.DiffDelete { color: #0000ff; background-color: #008080; padding-bottom: 1px; font-weight: bold; }
.DiffText { background-color: #ff0000; padding-bottom: 1px; font-weight: bold; }


table { table-layout: fixed; }
html, body, table, tbody { width: 100%; margin: 0; padding: 0; }
th, td { width: 50.0%; }
td div { overflow: auto; }

</style>
<script type='text/javascript'>
//<![CDATA[

/* function to open any folds containing a jumped-to line before jumping to it */
function JumpToLine()
{
  var lineNum;
  lineNum = window.location.hash;
  lineNum = lineNum.substr(1); /* strip off '#' */

  if (lineNum.indexOf('L') == -1) {
    lineNum = 'L'+lineNum;
  }
  if (lineNum.indexOf('W') == -1) {
    lineNum = 'W1'+lineNum;
  }
  lineElem = document.getElementById(lineNum);
  /* Always jump to new location even if the line was hidden inside a fold, or
   * we corrected the raw number to a line ID.
   */
  if (lineElem) {
    lineElem.scrollIntoView(true);
  }
  return true;
}
if ('onhashchange' in window) {
  window.onhashchange = JumpToLine;
}

//]]>
</script>
</head>
<body onload='JumpToLine();'>
<table border='1' width='100%' id='vimCodeElement'>
<tr>
<th>input/test.vim</th>
<th>input/test_modified.vim</th>
</tr><tr>
<td valign="top"><div>
<div>
<span id="W1L1" class="LineNr">&#160;1&#160;</span><span class="Comment">&quot; source this file to view a test of the conceal feature</span><br />
<span id="W1L2" class="LineNr">&#160;2&#160;</span><span class="Comment DiffChange">&quot;&#160;</span><span class="Comment DiffText">change</span><span class="Comment DiffChange">&#160;the conceallevel by pressing &gt; or &lt; to see it change</span><br />
<span id="W1L3" class="LineNr">&#160;3&#160;</span><br />
<span id="W1L4" class="LineNr">&#160;4&#160;</span><br />
<span id="W1L5" class="LineNr">&#160;5&#160;</span><span class="Comment">&quot;{{{{{{ start 2 folds</span><br />
<span id="W1L6" class="LineNr">&#160;6&#160;</span><span class="Statement">syntax</span>&#160;<span class="Type">match</span>&#160;<span class="Type">concealmatch</span>&#160;<span class="Constant">/conceal matched text conceal/</span>&#160;<span class="Special">conceal</span>&#160;<span class="Special">containedin=</span>all<br />
<span id="W1L7" class="LineNr">&#160;7&#160;</span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span class="Statement">syntax</span>&#160;<span class="Type">match</span>&#160;<span class="Type">concealconsec</span>&#160;<span class="Constant">/consecutive match/</span>&#160;<span class="Special">conceal</span>&#160;<span class="Special">containedin=</span>all<br />
<span id="W1L8" class="LineNr">&#160;8&#160;</span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span class="Statement">syntax</span>&#160;<span class="Type">region</span>&#160;<span class="Type">concealregion</span>&#160;<span class="Type">start</span>=<span class="Constant">/conceal--&gt;/</span>&#160;<span class="Type">end</span>=<span class="Constant">/&lt;--conceal/</span>&#160;<span class="Special">conceal</span>&#160;cchar=»&#160;<span class="Special">containedin=</span>all<br />
<span id="W1L9" class="LineNr">&#160;9&#160;</span><span class="Statement">syntax</span>&#160;<span class="Type">region</span>&#160;<span class="Type">concealends</span>&#160;<span class="Special">matchgroup=</span><span class="Type">conceal</span>edend&#160;<span class="Type">start</span>=<span class="Constant">/concealed end\ze&lt;--/</span>&#160;<span class="Type">end</span>=<span class="Constant">/--&gt;\zsconcealed end/</span>&#160;<span class="Special">concealends</span>&#160;<span class="Special">containedin=</span>all<br />
<span id="W1L10" class="LineNr">10&#160;</span><span class="Comment">&quot;}}} end fold 1</span><br />
<span id="W1L11" class="LineNr">11&#160;</span><br />
<span id="W1L12" class="LineNr">12&#160;</span><span class="Statement">set</span>&#160;<span class="PreProc">conceallevel</span>=1<br />
<span id="W1L13" class="LineNr">13&#160;</span><span class="Statement">nmap</span>&#160;&gt;&#160;:set conceallevel+=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span><br />
<span id="W1L14" class="LineNr">14&#160;</span><span class="Statement">nmap</span>&#160;&lt;&#160;:set conceallevel-=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span><br />
<span id="W1L15" class="LineNr">15&#160;</span><br />
<span id="W1L16" class="LineNr">16&#160;</span><span class="Statement">finish</span><br />
<span id="W1L17" class="LineNr">17&#160;</span><span class="Comment">&quot;}}} end fold 2</span><br />
<span id="W1L18" class="LineNr">18&#160;</span><br />
<span class="LineNr">&#160;&#160;&#160;</span><span class="DiffDelete">------</span><br />
<span class="LineNr">&#160;&#160;&#160;</span><span class="DiffDelete">------</span><br />
<span class="LineNr">&#160;&#160;&#160;</span><span class="DiffDelete">------</span><br />
<span id="W1L19" class="LineNr">19&#160;</span><br />
<span id="W1L20" class="LineNr">20&#160;</span><span class="Statement">------------------------------------------------------</span><br />
<span id="W1L21" class="LineNr">21&#160;</span><br />
<span id="W1L22" class="LineNr">22&#160;</span><span class="DiffChange">test</span><span class="DiffChange">&#160;</span><span class="DiffChange">conceal</span><span class="DiffChange">&#160;</span><span class="DiffText">by</span><span class="DiffText">&#160;</span><span class="DiffText">matching</span><span class="DiffChange">:</span><span class="DiffChange">&#160;</span><span class="DiffChange">conceal matched text conceal</span><br />
<span id="W1L23" class="LineNr">23&#160;</span>test&#160;two&#160;matches&#160;in_a&#160;row:&#160;consecutive matchconsecutive&#160;_match<br />
<span id="W1L24" class="LineNr">24&#160;</span>test&#160;conceal&#160;by&#160;region:&#160;conceal--&gt; this text should _be<br />
<span id="W1L25" class="LineNr">25&#160;</span>&#160;&#160; concealed..._on multiple lines!<br />
<span id="W1L26" class="LineNr">26&#160;</span>&#160;&#160; &lt;--conceal<br />
<span id="W1L27" class="LineNr">27&#160;</span>test&#160;concealends:&#160;concealed end&lt;-- some text that is_not concealed --&gt;concealed end<br />
<span id="W1L28" class="LineNr">28&#160;</span><br />
<span id="W1L29" class="LineNr">29&#160;</span>&#160;<span class="Statement">vim</span>:&#160;fdm<span class="Statement">=</span>marker<br />
</div>
</div></td>
<td valign="top"><div>
<div>
<span id="W2L1" class="LineNr">&#160;1&#160;</span><span class="Comment">&quot; source this file to view a test of the conceal feature</span><br />
<span id="W2L2" class="LineNr">&#160;2&#160;</span><span class="Comment DiffChange">&quot;&#160;</span><span class="Comment DiffText">modify</span><span class="Comment DiffChange">&#160;the conceallevel by pressing &gt; or &lt; to see it change</span><br />
<span id="W2L3" class="LineNr">&#160;3&#160;</span><br />
<span id="W2L4" class="LineNr">&#160;4&#160;</span><br />
<span id="W2L5" class="LineNr">&#160;5&#160;</span><span class="Comment">&quot;{{{{{{ start 2 folds</span><br />
<span id="W2L6" class="LineNr">&#160;6&#160;</span><span class="Statement">syntax</span>&#160;<span class="Type">match</span>&#160;<span class="Type">concealmatch</span>&#160;<span class="Constant">/conceal matched text conceal/</span>&#160;<span class="Special">conceal</span>&#160;<span class="Special">containedin=</span>all<br />
<span id="W2L7" class="LineNr">&#160;7&#160;</span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span class="Statement">syntax</span>&#160;<span class="Type">match</span>&#160;<span class="Type">concealconsec</span>&#160;<span class="Constant">/consecutive match/</span>&#160;<span class="Special">conceal</span>&#160;<span class="Special">containedin=</span>all<br />
<span id="W2L8" class="LineNr">&#160;8&#160;</span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span class="Statement">syntax</span>&#160;<span class="Type">region</span>&#160;<span class="Type">concealregion</span>&#160;<span class="Type">start</span>=<span class="Constant">/conceal--&gt;/</span>&#160;<span class="Type">end</span>=<span class="Constant">/&lt;--conceal/</span>&#160;<span class="Special">conceal</span>&#160;cchar=»&#160;<span class="Special">containedin=</span>all<br />
<span id="W2L9" class="LineNr">&#160;9&#160;</span><span class="Statement">syntax</span>&#160;<span class="Type">region</span>&#160;<span class="Type">concealends</span>&#160;<span class="Special">matchgroup=</span><span class="Type">conceal</span>edend&#160;<span class="Type">start</span>=<span class="Constant">/concealed end\ze&lt;--/</span>&#160;<span class="Type">end</span>=<span class="Constant">/--&gt;\zsconcealed end/</span>&#160;<span class="Special">concealends</span>&#160;<span class="Special">containedin=</span>all<br />
<span id="W2L10" class="LineNr">10&#160;</span><span class="Comment">&quot;}}} end fold 1</span><br />
<span id="W2L11" class="LineNr">11&#160;</span><br />
<span id="W2L12" class="LineNr">12&#160;</span><span class="Statement">set</span>&#160;<span class="PreProc">conceallevel</span>=1<br />
<span id="W2L13" class="LineNr">13&#160;</span><span class="Statement">nmap</span>&#160;&gt;&#160;:set conceallevel+=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span><br />
<span id="W2L14" class="LineNr">14&#160;</span><span class="Statement">nmap</span>&#160;&lt;&#160;:set conceallevel-=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span><br />
<span id="W2L15" class="LineNr">15&#160;</span><br />
<span id="W2L16" class="LineNr">16&#160;</span><span class="Statement">finish</span><br />
<span id="W2L17" class="LineNr">17&#160;</span><span class="Comment">&quot;}}} end fold 2</span><br />
<span id="W2L18" class="LineNr">18&#160;</span><br />
<span id="W2L19" class="LineNr">19&#160;</span><span class="Comment DiffAdd">&quot;</span><span class="DiffAdd">&#160;</span><span class="Todo DiffAdd">TODO</span><span class="PreProc DiffAdd">:</span><span class="Comment DiffAdd">&#160;look at the pretty syntax</span><br />
<span id="W2L20" class="LineNr">20&#160;</span><span class="Statement DiffAdd">call</span><span class="DiffAdd">&#160;</span><span class="Normal DiffAdd">FuncThatWontGetCalled</span><span class="Special DiffAdd">(</span><span class="DiffAdd">because, finish, is, called, above</span><span class="Special DiffAdd">)</span><br />
<span id="W2L21" class="LineNr">21&#160;</span><span class="Comment DiffAdd">&quot; see how I added lines to show up in a diff?</span><br />
<span id="W2L22" class="LineNr">22&#160;</span><br />
<span id="W2L23" class="LineNr">23&#160;</span><span class="Statement">------------------------------------------------------</span><br />
<span id="W2L24" class="LineNr">24&#160;</span><br />
<span id="W2L25" class="LineNr">25&#160;</span><span class="DiffChange">test</span><span class="DiffChange">&#160;</span><span class="DiffChange">conceal</span><span class="DiffChange">&#160;</span><span class="DiffText">using</span><span class="DiffText">&#160;</span><span class="DiffText">_match</span><span class="DiffChange">:</span><span class="DiffChange">&#160;</span><span class="DiffChange">conceal</span><span class="DiffChange">&#160;</span><span class="DiffChange">matched</span><span class="DiffChange">&#160;</span><span class="DiffChange">text</span><span class="DiffChange">&#160;</span><span class="DiffChange">conceal</span><br />
<span id="W2L26" class="LineNr">26&#160;</span>test&#160;two&#160;matches&#160;in_a&#160;row:&#160;consecutive&#160;matchconsecutive&#160;_match<br />
<span id="W2L27" class="LineNr">27&#160;</span>test&#160;conceal&#160;by&#160;region:&#160;conceal<span class="Statement">--&gt;</span>&#160;this&#160;text&#160;should&#160;_be<br />
<span id="W2L28" class="LineNr">28&#160;</span>&#160;&#160;&#160;concealed<span class="Statement">...</span>_on&#160;multiple&#160;lines!<br />
<span id="W2L29" class="LineNr">29&#160;</span>&#160;&#160;&#160;<span class="Statement">&lt;--</span>conceal<br />
<span id="W2L30" class="LineNr">30&#160;</span>test&#160;concealends:&#160;concealed&#160;<span class="Statement">end</span><span class="Statement">&lt;--</span>&#160;some&#160;text&#160;that&#160;is_not&#160;concealed&#160;<span class="Statement">--&gt;</span>concealed&#160;<span class="Statement">end</span><br />
<span id="W2L31" class="LineNr">31&#160;</span><br />
<span id="W2L32" class="LineNr">32&#160;</span>&#160;<span class="Statement">vim</span>:&#160;fdm<span class="Statement">=</span>marker<br />
</div>
</div></td>
</tr>
</table>
</body>
</html>
<!-- vim: set foldmethod=manual : -->

